About the Flexible Query Demo

This example shows how to build an application using a BdpDataAdapter where the Select statement used to generate the data can be changed by the client by selecting a value from an Asp listbox. Notice that the code calling IDBDataSource.ClearSessionState() in the Page_Load event is only executed if the query has been changed. Otherwise, ClearSessionState() would always clear changes and set the record pointer to the first row.

Setup Information

Running the Demo

  1. Start the IDE.
  2. Open this project.
  3. Complete the steps from the Setup Informationsection above.
  4. Compile the Applicaton (Project Menu, Compile all projects).
  5. Run the application with debugging (F9) or without debugging (Shift+Ctrl+F9)